package ui.activity.login.module;


import dagger.Module;
import dagger.Provides;
import ui.activity.login.biz.ForgetPwdBiz;
import ui.activity.login.contract.ForgetPwdContract;

/**
 * Created by chenjian on 19/2/26
 */
@Module
public class ForgetPwdModule {
    private ForgetPwdContract.View view;

    public ForgetPwdModule(ForgetPwdContract.View view) {
        this.view = view;
    }

    @Provides
    public ForgetPwdContract.View provideView() {
        return view;
    }

    @Provides
    public ForgetPwdBiz provideBiz() {
        return new ForgetPwdBiz();
    }
}